import server from '@dt/server/dt';
import Config from '@dt/server/base/Config';
import DtDelegate from './DtDelegate.js'
import DtAuth from './DtAuth.js'
import dt from '@dt/dt'
import Fly from 'flyio/dist/npm/fly'
server.handle.setupFly(Fly)
server.setAuth(new DtAuth()).setConfig(new Config(true)).setDelegate(new DtDelegate())
dt.server = server

export default server